package com.example.demo.service.Impl;

import com.example.demo.mapper.VisitDoctorMapper;
import com.example.demo.module.entity.VisitDoctor;
import com.example.demo.service.VisitDoctorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VisitDoctorServiceImpl implements VisitDoctorService {
    @Autowired
    private VisitDoctorMapper visitDoctorMapper;

    @Override
    public List<VisitDoctor> findAll() throws Exception {
        return visitDoctorMapper.selectAll();
    }
}
